import { createRouter, createWebHashHistory } from 'vue-router'

import Login from '../view/Login.vue'
import Work from '../view/Work.vue'

const routes = [
    {
        path: '/work',
        component: Work,
    },
    {
        path: '/',
        component: Login,
    },
]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})

export default router